<template>
  <div class="user">
    <!-- {{ user.name }} -->
    <slot :user="user" :info="info" />
  </div>
</template>

<script>
export default {
  name: 'User',
  data() {
    return {
      user: {
        name: '刘德华',
        nickName: 'pink老师'
      },
      info: {
        age: 18
      }
    }
  }
}
</script>

<style>

</style>
